<script>
	export default {
		globalData: {
			id: null,
			gold: false
		},
		onLaunch: function() {
			var ua = window.navigator.userAgent
			if (ua.indexOf('MicroMessenger') == -1) {
				// 等于-1时 说明不是从微信扫码打开的，就跳转其它页面
				uni.reLaunch({
					url: '/pages/err/err'
				})
			}
		},


	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	@import "icon/iconfont.css";

	page {
		width: 100%;
		height: 97%;
		padding: 40rpx 0;
		box-sizing: border-box;
		background-color: #f8f8f8;
	}
</style>